#include "syscall.h"

int mainLock = -1;
int mainCondition = -1;

int randLock0 = -1;
int randLock1 = -1;
int randLock2 = -1;

int randCond0 = -1;
int randCond1 = -1;
int randCond2 = -1;


/*Tests all functions of the server client design*/
int main(){

	int Selection = -1;
	Write("---Start broadcastTest---\n",30,1);
	
	Write("-create lock\n",13,1);
	mainLock = CreateLock("mainLock"); 
	Write("-create conditon\n",17,1);
	mainCondition = CreateCondition("mainCondition");

	Acquire(mainLock);	
	Broadcast(mainCondition, mainLock);
	Release(mainLock);

/*	DeleteLock(mainLock);*/


	Write("---End of broadcastTest---\n",31,1);

	return 1;
}


